package com.anytron.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name = "app_apollo")
public class AppApollo implements Serializable {
	
	private static final long serialVersionUID = 2249112147165489411L;
	@Id
	@Column(name="id")
	private Long id; 
	@Column(name="app_id")
	private Long appId; 
	@Column(name="apollo_appid")
	private String apolloAppId; 
	@Column(name="apollo_token")
	private String apolloToken; 
	@Column(name="apollo_cluster")
	private String apolloCluster; 
	@Column(name="apollo_env")
	private String apolloEnv; 
	@Column(name="apollo_portal_url")
	private String apolloPortalUrl; 
	@Column(name="create_time")
	private Date createTime;
	@Column(name="update_time")
	private Date updateTime;
	@Transient
	private String appName;
	
	public String getAppName() {
		return appName;
	}
	public void setAppName(String appName) {
		this.appName = appName;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getAppId() {
		return appId;
	}
	public void setAppId(Long appId) {
		this.appId = appId;
	}
	public String getApolloAppId() {
		return apolloAppId;
	}
	public void setApolloAppId(String apolloAppId) {
		this.apolloAppId = apolloAppId;
	}
	public String getApolloToken() {
		return apolloToken;
	}
	public void setApolloToken(String apolloToken) {
		this.apolloToken = apolloToken;
	}
	public String getApolloCluster() {
		return apolloCluster;
	}
	public void setApolloCluster(String apolloCluster) {
		this.apolloCluster = apolloCluster;
	}
	public String getApolloEnv() {
		return apolloEnv;
	}
	public void setApolloEnv(String apolloEnv) {
		this.apolloEnv = apolloEnv;
	}
	public String getApolloPortalUrl() {
		return apolloPortalUrl;
	}
	public void setApolloPortalUrl(String apolloPortalUrl) {
		this.apolloPortalUrl = apolloPortalUrl;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
